package com.dbpms.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("chamberinfo")
public class ChamberInfo {

    @TableId("chamber_id")
    private int chamberId; // id

    private int chamberFloorId; // 寝室楼id》
    @TableField(exist = false)
    private String chamberFloorName; // 寝室楼名

    private int chamberTypeId; // 宿舍类型id》
    @TableField(exist = false)
    private String chamberTypeName; // 宿舍类型

    private String chamberHotelNumber; // 宿舍号》
    private int chamberFloor; // 楼层》
    private int chamberBed; // 床位》
    private int chamberNumberOfPeople; // 现住床位

    public int getChamberId() {
        return chamberId;
    }

    public void setChamberId(int chamberId) {
        this.chamberId = chamberId;
    }

    public int getChamberFloorId() {
        return chamberFloorId;
    }

    public void setChamberFloorId(int chamberFloorId) {
        this.chamberFloorId = chamberFloorId;
    }

    public String getChamberFloorName() {
        return chamberFloorName;
    }

    public void setChamberFloorName(String chamberFloorName) {
        this.chamberFloorName = chamberFloorName;
    }

    public String getChamberHotelNumber() {
        return chamberHotelNumber;
    }

    public void setChamberHotelNumber(String chamberHotelNumber) {
        this.chamberHotelNumber = chamberHotelNumber;
    }

    public int getChamberFloor() {
        return chamberFloor;
    }

    public void setChamberFloor(int chamberFloor) {
        this.chamberFloor = chamberFloor;
    }

    public int getChamberTypeId() {
        return chamberTypeId;
    }

    public void setChamberTypeId(int chamberTypeId) {
        this.chamberTypeId = chamberTypeId;
    }

    public String getChamberTypeName() {
        return chamberTypeName;
    }

    public void setChamberTypeName(String chamberTypeName) {
        this.chamberTypeName = chamberTypeName;
    }

    public int getChamberBed() {
        return chamberBed;
    }

    public void setChamberBed(int chamberBed) {
        this.chamberBed = chamberBed;
    }

    public int getChamberNumberOfPeople() {
        return chamberNumberOfPeople;
    }

    public void setChamberNumberOfPeople(int chamberNumberOfPeople) {
        this.chamberNumberOfPeople = chamberNumberOfPeople;
    }

    @Override
    public String toString() {
        return "ChamberInfo{" +
                "chamberId=" + chamberId +
                ", chamberFloorId=" + chamberFloorId +
                ", chamberFloorName='" + chamberFloorName + '\'' +
                ", chamberTypeId=" + chamberTypeId +
                ", chamberTypeName='" + chamberTypeName + '\'' +
                ", chamberHotelNumber='" + chamberHotelNumber + '\'' +
                ", chamberFloor=" + chamberFloor +
                ", chamberBed=" + chamberBed +
                ", chamberNumberOfPeople=" + chamberNumberOfPeople +
                '}';
    }
}
